package gooj.client.services;

import java.util.List;

import gooj.client.services.data.User;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("users")
public interface UsersService extends RemoteService {
	public User Login(String login, String password);
	
	public List<User> GetUsers(String session, int d, int count); 
	public User CreateUser(String session, String eMail, String login, Boolean isOwner);
	public User UpdateUser(String session, User user, String newEMail, String newlogin, Boolean newIsOwner);
	public void RemoveUser(String session, User user);
	public void SetPassword(String session, User user, String password);
}